<template>
	<view>
		<view class = "header">
			<image class = "avatar" src = "../../static/头像.jpg
			"></image>
		</view>
		<view class = "content">
			<text class = "intro">姓名：小丽</text>
			<text class= "intro">年龄：28</text>
			<text class= "intro">性别：女</text>
			<text class= "intro">特长：绘画、书法</text>
			<text class= "intro">爱好：编程</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" >
	$back-color:#decbfc;
	.header{
		background-color: #98CEED;
		height: 360rpx;
		display:flex;
		justify-content:center;
		align-items: center;
		background-image:
		 radial-gradient(60% 360rpx at right top,$back-color,transparen);
	image{
		display: block;
		width: 150rpx;
		height: 150rpx;
		border-radius: 50%;
		box-shadow: 0 0 2px 4px rgba(255,255,255,.7);
	  }
	}
	.content{
		background-color: greenyellow;
		height:500rpx;
		padding:0 20px;
	}
	.intro{
		margin: 0 8px;
		padding: 12px;
		display: block;
		border-bottom: 1px solid #eee;
		font-weight: 200;
		font-size: 28rpx;
	}
</style>
